//账号信息的ts类型
export interface ResponseData {
  code: number
  data: GoodsRecords
}

//代表一个账号信息的ts类型
export interface Goods {
  id?: number
  goodsName: string
  activityId: number
  startTime: string
  endTime: string
  originalPrice: number
  activityPrice: number
  initialStock: number
  limitNum: number
  availableStock: number
  description: string
  imgUrl: string
}

export interface SearchData {
  current?: string
  status?: string
}

export interface Status {
  status?: number
}

//数组包含全部的活动信息
export type GoodsRecords = Goods[]

//获取全部活动信息接口返回的数据ts类型
export interface GoodsResponseData extends ResponseData {
}
